import Vue from 'vue'
import App from './App.vue'
import store from './store/index.js'

import router from './router'

import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';

// 引入富文本编辑器
import VueQuillEditor from 'vue-quill-editor'
// require styles 引入样式
import 'quill/dist/quill.core.css'
import 'quill/dist/quill.snow.css'
import 'quill/dist/quill.bubble.css'

import * as filters from './filters' // global filters
// register global utility filters

//全局过滤器
Object.keys(filters).forEach(key => {
  Vue.filter(key, filters[key])
})







Vue.config.productionTip = false
Vue.use(VueQuillEditor)
Vue.use(ElementUI);
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
